<?php echo $this->Html->css('inicio'); ?>  

<?php
    echo $this->Form->create('producto', array('action'=>'add'));
   ?>

<?php echo $this->Html->image('icon_pers/volver1.png'); ?>
    <?php echo $this->Html->link('volver',(array('controller'=>'usuarios','action'=>'admin'))); ?>
    <fieldset>
        <legend>
            <br>
            Añadir nuevo producto<br><font size=4>(*)Campo requerido </font> </br>
        </legend>

        <div id="anchoInput2">
        <?php
         
              echo $this->Form->input('Producto.nombre', array('label'=>'Producto ', 'maxLength' => 20));
              echo $this->Form->input('Producto.codigo', array('label'=>'Codigo', 'maxLength' => 20));
              echo $this->Form->input('Producto.cantidad', array('label'=>'Cantidad'/*, 'maxLength' => 10*/));
              echo $this->Form->input('Proveedor');
             // echo $this->Form->input('productos_supplier',array('value' => $suppliers));
           ?>
        </DIV>
    </fieldset>
    <?php
        
        echo $this->Form->end('Añadir producto');
        echo $this->Html->image('icon_BOD/volver1.png');
           
        echo $this->Html->link('volver',array('action'=>'index'));

    ?>
